package org.example;

import lombok.Data;

import java.util.Date;

@Data
public class FileInfo {
    private String id;
    private String fileName;
    private boolean isDirectory;
    private String fileSize;
    private Date lastModified;
    private String lastModifiedStr;

    private String remotePath;
    private String localPath;

    // 构造函数
    public FileInfo(String fileName, boolean isDirectory, String fileSize, Date lastModified) {
        this.fileName = fileName;
        this.isDirectory = isDirectory;
        this.fileSize = fileSize;
        this.lastModified = lastModified;
    }
}
